package jumpingnotes.dao;

import java.util.List;
import jumpingnotes.model.Audio;

public interface AudioDAO extends GenericDAO<Audio>
{
	public List<Audio> findByKeyword(String keyword, int firstResult, int maxResults, Sorter sorter);
	public List<Audio> findAllReading(int firstResult, int maxResults, Sorter sorter);
	public List<Audio> findReadingByKeyword(String keyword, int firstResult, int maxResults, Sorter sorter);
	public Long getReadingCount();
	public Long getReadingCountByKeyword(String keyword);
}
